package com.sugar.follow.up.module.business.controller.admin.followupquestionrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 随访发起答题记录新增/修改 Request VO")
@Data
public class FollowUpQuestionRecordSaveReqVO {

    @Schema(description = "答题记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18794")
    private Long id;

    @Schema(description = "随访记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28809")
    @NotNull(message = "随访记录ID不能为空")
    private Long recordId;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27917")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "随访问题ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "25424")
    @NotNull(message = "随访问题ID不能为空")
    private Long questionId;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "提示语")
    private String tip;

    @Schema(description = "题型（0单选 1多选 2填空 3问答 4日期）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "题型（0单选 1多选 2填空 3问答 4日期）不能为空")
    private Boolean type;

    @Schema(description = "题目选项")
    private String options;

    @Schema(description = "用户答案")
    private String answer;

}